import { lazy } from 'react';
import systemRouter from './routers/System';
import monitorRouter from './routers/Monitor';
import variableRouter from './routers/Variable';
import strategyRouter from './routers/Strategy';
import strategyLabsRouter from './routers/StrategyLabs';
import caseRouter from './routers/Case';
import dataGatewayRouter from './routers/DataGateway';
import stormCenterRouter from './routers/StormCenter';
import produceRouter from './routers/Produce';
import TransferRouter from './routers/Transfer';
import Audit from './routers/Audit';
import ReleaseRouter from './routers/Release';
const routers = [
  // {
  //   path: '/',
  //   redirect: '/dashboard',
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dashboard',
  //   component: lazy(() => import('./routers/Dashboard/index')),
  //   name: '业务总览',
  //   des: '',
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/riskAnalyse',
  //   component: lazy(() => import('./routers/RiskAnalyse')),
  //   name: '风险趋势分析',
  //   des: '',
  //   exact: true,
  //   auth: true,
  // },
  ...systemRouter,
  ...monitorRouter,
  ...variableRouter,
  ...strategyRouter,
  ...ReleaseRouter,
  // ...strategyLabsRouter,
  // ...caseRouter,
  // ...stormCenterRouter,
  // ...dataGatewayRouter,
  // ...produceRouter,
  // ...TransferRouter,
  // ...Audit,
];
export default routers;
